V2EX  ›  英汉词典
Enqueued related words: Content-Encoding

Content Type

释义 Definition

内容类型;媒体类型:指一段内容(如网页、图片、音频、JSON 数据等)的数据格式与编码方式,常用于网络传输与文件识别中;在 HTTP 里常表现为 Content-Type 头部(例如 application/jsontext/html)。也可泛指“内容的类别/类型”。

发音 Pronunciation (IPA)

/ˈkɑn.tɛnt taɪp/

例句 Examples

The content type is JSON.
内容类型是 JSON。

The server checks the content type to decide how to parse the request body, and it rejects anything that isn’t application/json.
服务器会检查内容类型来决定如何解析请求体,并拒绝任何不是 application/json 的内容。

词源 Etymology

content(内容) + type(类型) 组成。在计算机与互联网语境中,这个说法与 MIME(Multipurpose Internet Mail Extensions)媒体类型体系密切相关,后来被 HTTP 等协议广泛采用,用来明确“这段数据是什么格式”。

相关词 Related Words

文献与作品中的用例 Literary / Notable Works

  • RFC 2045–2049(MIME 规范):系统定义了媒体类型及其在消息中的使用方式,是 “content type / MIME type” 体系的重要来源。
  • RFC 7231(HTTP/1.1 语义与内容):讨论 HTTP 中的内容协商与表示(representation),与 Content-Type 的语义紧密相关。
  • W3C / WHATWG《HTML Standard》:涉及浏览器如何根据资源类型处理与解析内容(与 Content-Type 相关)。
  • MDN Web Docs(Mozilla):在 HTTP 标头与 Web API 文档中频繁使用并解释 Content-Type
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   757 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 19ms · UTC 18:39 · PVG 02:39 · LAX 10:39 · JFK 13:39
♥ Do have faith in what you're doing.